//
//  FSWToastAlertView.h
//  quhuolang
//
//  Created by 曹欣欣 on 2018/3/10.
//  Copyright © 2018年 fusw. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^toastOkBlock)(void);
typedef void (^toastCancelBlock)(void);
@interface FSWToastAlertView : UIWindow
+(instancetype)initCustomView;


@property (strong, nonatomic) NSString *cancelText;
@property (strong, nonatomic) NSString *okText;
@property (strong, nonatomic) NSString *okTextColor;
@property (strong, nonatomic) NSString *cancelTextColor;
@property (strong, nonatomic) NSString *titleColor;
@property (strong, nonatomic) NSString *messageColor;
@property (strong, nonatomic) NSString *title;
 

//0 不隐藏 1 隐藏cancel 2隐藏ok
- (void)show:(NSInteger)type addMessage:(NSString *)message andOkBlock:(toastOkBlock)okBlock andCancelBlock:(toastCancelBlock)cancelBlock;

@end
